change default BABL_TOLERANCE to 0.000006
authorØyvind Kolås <pippin@gimp.org>
Wed, 16 Nov 2016 19:36:57 +0000 (20:36 +0100)
committerØyvind Kolås <pippin@gimp.org>
Wed, 16 Nov 2016 19:42:08 +0000 (20:42 +0100)
This makes the cairo.so extensions fast path for RGBA float blitting to be
accepted. This makes conversions with internal quantization of roughly 16bit be
accepted.

babl/babl-fish-path.c

index ebbdd9e20a356d6c3b6988066efa01d38fab99d3..25d3bd176a7e8d37a8e093b927cfb135cea72dec 100644 (file)
@@ -21,7 +21,7 @@
 #include "babl-internal.h"
 #include "babl-ref-pixels.h"
 
-#define BABL_LEGAL_ERROR           0.000001
+#define BABL_LEGAL_ERROR           0.000006
 #define BABL_MAX_COST_VALUE        2000000
 #define BABL_HARD_MAX_PATH_LENGTH  8
 #define BABL_MAX_NAME_LEN          1024